<?php 
	
	echo '<div class="message-menu">';
	$inboxUrlArray = array('controller' =>'messages', 'action'=>'inbox');
	$sentUrlArray = array('controller' =>'messages', 'action'=>'sent');
	$composeUrlArray = array('controller' =>'messages', 'action'=>'write');
	echo '<a href="'.$this->url($inboxUrlArray, null, true).'">Inbox</a>';
	echo ' | ';
	echo '<a href="'.$this->url($composeUrlArray, null, true).'">Write new message</a>';
	echo ' | ';
	echo '<a href="'.$this->url($sentUrlArray, null, true).'">Sent</a>';
	
	echo '</div>';
	echo '<br/>';
	
	echo '<div class ="read-message">';
	echo '<div class="lable left">From:</div><span>'. $this->readMessage['fromAlias'] .'</span><br/>';
	echo '<div class="lable left">Title:</div><span>'. $this->readMessage['title'] .'</span><br/>';
	echo '<div class="lable left">Date:</div><span>'. $this->readMessage['date'] .'</span><br/>';
	echo '<div class="lable left">Message:</div><span>'. $this->readMessage['message'] .'</span>';
	echo '</div>';